using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Finance.DTO.FinanceUserAccount;

/// <summary>
///     用户账户新增模型
/// </summary>
public class FinanceUserAccountAddDTO
{
    /// <summary>
    ///     账户名称
    /// </summary>
    [Required(ErrorMessage = "账户名称不可为空")]
    public string AccountName { get; set; }

    /// <summary>
    ///     账户余额
    /// </summary>
    [Required(ErrorMessage = "账户余额不可为空")]
    public decimal AccountBalance { get; set; }
}